//
//  FontMacro.h
//  XinYiGou
//
//  Created by Angel_Yan on 2017/6/8.
//  Copyright © 2017年 Angel_Yan. All rights reserved.
//

#ifndef FontMacro_h
#define FontMacro_h



#pragma - mark 字体设置

#if __IPHONE_OS_VERSION_MIN_ALLOWED < __IPHONE_9_0


#define FONT_SYS_THIN(a) [UIFont systemFontOfSize:(a)]
#define FONT_SYS(a) [UIFont systemFontOfSize:(a)]
#define FONT_SYS_BOLD(a) [UIFont boldSystemFontOfSize:(a)]


#else

//"PingFangSC-Ultralight",
//"PingFangSC-Regular",
//"PingFangSC-Semibold",
//"PingFangSC-Thin",
//"PingFangSC-Light",
//"PingFangSC-Medium"

///< 平方-极细
#define FONT_SYS_THIN(a) [UIFont fontWithName:@"PingFangSC-Thin" size:(a)]
///< 平方-常规
#define FONT_SYS(a) [UIFont fontWithName:@"PingFangSC-Regular" size:(a))]
///< 评分-粗体
#define FONT_SYS_BOLD(a) [UIFont fontWithName:@"PingFangSC-Semibold" size:(a)]


#endif



#define BtnFont  FONT_SYS(15.0)
#define BtnFontSelect FONT_SYS_BOLD(16.0)


#endif /* FontMacro_h */
